#include <iostream>
using namespace std;
#include "Matrix.h";
int main()
{
	matrix m,n,p,test;
	cin >> m>>n>>p;
	cout << m<<n<<p;
	test = m + n + p;
	cout << test;
	test = p- m - n;
	cout << test;
	test = m * n;
	cout << test;
	test += n;
	cout << test;
	test -= m;
	cout << test;
	test = 2 * m;
	cout << test;
	test *= 2;
	cout << test;
	test *= n;
	cout << test;
	matrix test1 = test;
	if (test1 == test)cout << "Equal";
	if (test != m)cout << "Not equal";
	return 0;
	system("pause");
}